

def turn_time(time_str):
    try:
        if not time_str:
            return ""
        return time_str[0:4] + '-' + time_str[4:6] + '-' + time_str[6:8] + ' ' + time_str[8:10] + ':' + time_str[10:12] + ':' + time_str[12:]
    except:
        return ""
